package com.hs.zhou.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hs.bai.pojo.*;
import com.hs.ding.pojo.Dispatch;
import com.hs.ding.pojo.Transport;
import com.hs.hu.pojo.Receipt;
import com.hs.lin.pojo.ExceptionHandling;
import com.hs.lin.pojo.ExceptionRegistration;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author Xudongzhou
 * @since 2022-06-14
 */
@TableName("t_bill")
public class Bill implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private String orderid;

    private String customerName;

    //未提交 0   已提交1
    private Integer status;

    //基本信息类
    @TableField(exist = false)
    private Orderbasicinfo orderbasicinfo;

    //查询地址信息
    @TableField(exist = false)
    private Addrinfo addrinfo;


    //货物信息类
    @TableField(exist = false)
    private List<Goodsinfo> goodsinfos;

    //费用信息类
    @TableField(exist = false)
    private Expenseinfo expenseinfo;

    //订单信息
    @TableField(exist = false)
    private Order order;

    //查询回单信息
    @TableField(exist = false)
    private Receipt receipt;

    //总重量
    @TableField(exist = false)
    private Float totalWeight;

    //总体积
    @TableField(exist = false)
    private Float totalVolum;

    //承运商
    @TableField(exist = false)
    private String carrierName;

    //物流信息
    @TableField(exist = false)
    private String dispatchNo;

    //查询异常信息
    @TableField(exist = false)
    private ExceptionHandling exceptionHandling;

    @TableField(exist = false)
    private ExceptionRegistration exceptionRegistration;


    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Receipt getReceipt() {
        return receipt;
    }

    public void setReceipt(Receipt receipt) {
        this.receipt = receipt;
    }

    public Float getTotalWeight() {
        return totalWeight;
    }

    public void setTotalWeight(Float totalWeight) {
        this.totalWeight = totalWeight;
    }

    public Float getTotalVolum() {
        return totalVolum;
    }

    public void setTotalVolum(Float totalVolum) {
        this.totalVolum = totalVolum;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getOrderid() {
        return orderid;
    }

    public void setOrderid(String orderid) {
        this.orderid = orderid;
    }

    public Orderbasicinfo getOrderbasicinfo() {
        return orderbasicinfo;
    }

    public void setOrderbasicinfo(Orderbasicinfo orderbasicinfo) {
        this.orderbasicinfo = orderbasicinfo;
    }

    public List<Goodsinfo> getGoodsinfos() {
        return goodsinfos;
    }

    public void setGoodsinfos(List<Goodsinfo> goodsinfos) {
        this.goodsinfos = goodsinfos;
    }

    public Expenseinfo getExpenseinfo() {
        return expenseinfo;
    }

    public void setExpenseinfo(Expenseinfo expenseinfo) {
        this.expenseinfo = expenseinfo;
    }

    public Order getOrder() {
        return order;
    }

    public void setOrder(Order order) {
        this.order = order;
    }


    public Addrinfo getAddrinfo() {
        return addrinfo;
    }

    public void setAddrinfo(Addrinfo addrinfo) {
        this.addrinfo = addrinfo;
    }

    public String getCarrierName() {
        return carrierName;
    }

    public void setCarrierName(String carrierName) {
        this.carrierName = carrierName;
    }

    public String getDispatchNo() {
        return dispatchNo;
    }

    public void setDispatchNo(String dispatchNo) {
        this.dispatchNo = dispatchNo;
    }

    public ExceptionHandling getExceptionHandling() {
        return exceptionHandling;
    }

    public void setExceptionHandling(ExceptionHandling exceptionHandling) {
        this.exceptionHandling = exceptionHandling;
    }

    public ExceptionRegistration getExceptionRegistration() {
        return exceptionRegistration;
    }

    public void setExceptionRegistration(ExceptionRegistration exceptionRegistration) {
        this.exceptionRegistration = exceptionRegistration;
    }

    @Override
    public String toString() {
        return "Bill{" +
                "id=" + id +
                ", orderid='" + orderid + '\'' +
                ", customerName='" + customerName + '\'' +
                ", status=" + status +
                ", orderbasicinfo=" + orderbasicinfo +
                ", addrinfo=" + addrinfo +
                ", goodsinfos=" + goodsinfos +
                ", expenseinfo=" + expenseinfo +
                ", order=" + order +
                ", receipt=" + receipt +
                ", totalWeight=" + totalWeight +
                ", totalVolum=" + totalVolum +
                ", carrierName='" + carrierName + '\'' +
                ", dispatchNo='" + dispatchNo + '\'' +
                ", exceptionHandling=" + exceptionHandling +
                ", exceptionRegistration=" + exceptionRegistration +
                '}';
    }
}
